<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkRange</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="prev" href="GtkPaned.html" title="GtkPaned">
<link rel="next" href="GtkScale.html" title="GtkScale">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="Builder.html" title="Interface builder">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkPaned.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkScale.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkRange.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#GtkRange.description" class="shortcut">Description</a>
                 | 
                <a href="#GtkRange.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#GtkRange.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                 | 
                <a href="#GtkRange.properties" class="shortcut">Properties</a>
                 | 
                <a href="#GtkRange.style-properties" class="shortcut">Style Properties</a>
                 | 
                <a href="#GtkRange.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkRange"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkRange.top_of_page"></a>GtkRange</span></h2>
<p>GtkRange — Base class for widgets which visualize an adjustment</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkRange.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkRange.html#GtkRange-struct" title="GtkRange">GtkRange</a>;
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>             <a class="link" href="GtkRange.html#gtk-range-get-fill-level" title="gtk_range_get_fill_level ()">gtk_range_get_fill_level</a>            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkRange.html#gtk-range-get-restrict-to-fill-level" title="gtk_range_get_restrict_to_fill_level ()">gtk_range_get_restrict_to_fill_level</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkRange.html#gtk-range-get-show-fill-level" title="gtk_range_get_show_fill_level ()">gtk_range_get_show_fill_level</a>       (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void                <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()">gtk_range_set_fill_level</a>            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> fill_level);
void                <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()">gtk_range_set_restrict_to_fill_level</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> restrict_to_fill_level);
void                <a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()">gtk_range_set_show_fill_level</a>       (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_fill_level);
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      <a class="link" href="GtkRange.html#gtk-range-get-adjustment" title="gtk_range_get_adjustment ()">gtk_range_get_adjustment</a>            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void                <a class="link" href="GtkRange.html#gtk-range-set-update-policy" title="gtk_range_set_update_policy ()">gtk_range_set_update_policy</a>         (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a> policy);
void                <a class="link" href="GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()">gtk_range_set_adjustment</a>            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            <a class="link" href="GtkRange.html#gtk-range-get-inverted" title="gtk_range_get_inverted ()">gtk_range_get_inverted</a>              (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void                <a class="link" href="GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()">gtk_range_set_inverted</a>              (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);
<a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a>       <a class="link" href="GtkRange.html#gtk-range-get-update-policy" title="gtk_range_get_update_policy ()">gtk_range_get_update_policy</a>         (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>             <a class="link" href="GtkRange.html#gtk-range-get-value" title="gtk_range_get_value ()">gtk_range_get_value</a>                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void                <a class="link" href="GtkRange.html#gtk-range-set-increments" title="gtk_range_set_increments ()">gtk_range_set_increments</a>            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page);
void                <a class="link" href="GtkRange.html#gtk-range-set-range" title="gtk_range_set_range ()">gtk_range_set_range</a>                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);
void                <a class="link" href="GtkRange.html#gtk-range-set-value" title="gtk_range_set_value ()">gtk_range_set_value</a>                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);
enum                <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>;
void                <a class="link" href="GtkRange.html#gtk-range-set-lower-stepper-sensitivity" title="gtk_range_set_lower_stepper_sensitivity ()">gtk_range_set_lower_stepper_sensitivity</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a> sensitivity);
<a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>  <a class="link" href="GtkRange.html#gtk-range-get-lower-stepper-sensitivity" title="gtk_range_get_lower_stepper_sensitivity ()">gtk_range_get_lower_stepper_sensitivity</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
void                <a class="link" href="GtkRange.html#gtk-range-set-upper-stepper-sensitivity" title="gtk_range_set_upper_stepper_sensitivity ()">gtk_range_set_upper_stepper_sensitivity</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a> sensitivity);
<a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>  <a class="link" href="GtkRange.html#gtk-range-get-upper-stepper-sensitivity" title="gtk_range_get_upper_stepper_sensitivity ()">gtk_range_get_upper_stepper_sensitivity</a>
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----GtkRange
                           +----<a class="link" href="GtkScale.html" title="GtkScale">GtkScale</a>
                           +----<a class="link" href="GtkScrollbar.html" title="GtkScrollbar">GtkScrollbar</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkRange implements
 AtkImplementorIface and  <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange--adjustment" title='The "adjustment" property'>adjustment</a>"               <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*        : Read / Write / Construct
  "<a class="link" href="GtkRange.html#GtkRange--fill-level" title='The "fill-level" property'>fill-level</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--inverted" title='The "inverted" property'>inverted</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--lower-stepper-sensitivity" title='The "lower-stepper-sensitivity" property'>lower-stepper-sensitivity</a>" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>    : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--restrict-to-fill-level" title='The "restrict-to-fill-level" property'>restrict-to-fill-level</a>"   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--show-fill-level" title='The "show-fill-level" property'>show-fill-level</a>"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--update-policy" title='The "update-policy" property'>update-policy</a>"            <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a>         : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--upper-stepper-sensitivity" title='The "upper-stepper-sensitivity" property'>upper-stepper-sensitivity</a>" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>    : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange--s-activate-slider" title='The "activate-slider" style property'>activate-slider</a>"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-x" title='The "arrow-displacement-x" style property'>arrow-displacement-x</a>"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-y" title='The "arrow-displacement-y" style property'>arrow-displacement-y</a>"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-scaling" title='The "arrow-scaling" style property'>arrow-scaling</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>                : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-slider-width" title='The "slider-width" style property'>slider-width</a>"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-stepper-size" title='The "stepper-size" style property'>stepper-size</a>"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-stepper-spacing" title='The "stepper-spacing" style property'>stepper-spacing</a>"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-border" title='The "trough-border" style property'>trough-border</a>"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-side-details" title='The "trough-side-details" style property'>trough-side-details</a>"      <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-under-steppers" title='The "trough-under-steppers" style property'>trough-under-steppers</a>"    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange-adjust-bounds" title='The "adjust-bounds" signal'>adjust-bounds</a>"                                  : Run Last
  "<a class="link" href="GtkRange.html#GtkRange-change-value" title='The "change-value" signal'>change-value</a>"                                   : Run Last
  "<a class="link" href="GtkRange.html#GtkRange-move-slider" title='The "move-slider" signal'>move-slider</a>"                                    : Run Last / Action
  "<a class="link" href="GtkRange.html#GtkRange-value-changed" title='The "value-changed" signal'>value-changed</a>"                                  : Run Last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.description"></a><h2>Description</h2>
<p>
<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> is the common base class for widgets which visualize an
adjustment, e.g scales or scrollbars.
</p>
<p>
Apart from signals for monitoring the parameters of the adjustment,
GtkRange provides properties and methods for influencing the sensitivity
of the "steppers". It also provides properties and methods for setting a
"fill level" on range widgets. See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="GtkRange-struct"></a><h3>GtkRange</h3>
<pre class="programlisting">typedef struct _GtkRange GtkRange;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-fill-level"></a><h3>gtk_range_get_fill_level ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>             gtk_range_get_fill_level            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the current position of the fill level indicator.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The current fill level

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-restrict-to-fill-level"></a><h3>gtk_range_get_restrict_to_fill_level ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_range_get_restrict_to_fill_level
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets whether the range is restricted to the fill level.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> is restricted to the fill level.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-show-fill-level"></a><h3>gtk_range_get_show_fill_level ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_range_get_show_fill_level       (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets whether the range displays the fill level graphically.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> shows the fill level.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-fill-level"></a><h3>gtk_range_set_fill_level ()</h3>
<pre class="programlisting">void                gtk_range_set_fill_level            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> fill_level);</pre>
<p>
Set the new position of the fill level indicator.
</p>
<p>
The "fill level" is probably best described by its most prominent
use case, which is an indicator for the amount of pre-buffering in
a streaming media player. In that use case, the value of the range
would indicate the current play position, and the fill level would
be the position up to which the file/stream has been downloaded.
</p>
<p>
This amount of prebuffering can be displayed on the range's trough
and is themeable separately from the trough. To enable fill level
display, use <a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>. The range defaults
to not showing the fill level.
</p>
<p>
Additionally, it's possible to restrict the range's slider position
to values which are smaller than the fill level. This is controller
by <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a> and is by default
enabled.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fill_level</code></em> :</span></p></td>
<td> the new position of the fill level indicator
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-restrict-to-fill-level"></a><h3>gtk_range_set_restrict_to_fill_level ()</h3>
<pre class="programlisting">void                gtk_range_set_restrict_to_fill_level
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> restrict_to_fill_level);</pre>
<p>
Sets whether the slider is restricted to the fill level. See
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>                  A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>restrict_to_fill_level</code></em> :</span></p></td>
<td> Whether the fill level restricts slider movement.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-show-fill-level"></a><h3>gtk_range_set_show_fill_level ()</h3>
<pre class="programlisting">void                gtk_range_set_show_fill_level       (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> show_fill_level);</pre>
<p>
Sets whether a graphical fill level is show on the trough. See
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>           A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_fill_level</code></em> :</span></p></td>
<td> Whether a fill level indicator graphics is shown.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-adjustment"></a><h3>gtk_range_get_adjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*      gtk_range_get_adjustment            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Get the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> which is the "model" object for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>.
See <a class="link" href="GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()"><code class="function">gtk_range_set_adjustment()</code></a> for details.
The return value does not have a reference added, so should not
be unreferenced.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-update-policy"></a><h3>gtk_range_set_update_policy ()</h3>
<pre class="programlisting">void                gtk_range_set_update_policy         (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a> policy);</pre>
<p>
Sets the update policy for the range. <span class="type">GTK_UPDATE_CONTINUOUS</span> means that
anytime the range slider is moved, the range value will change and the
value_changed signal will be emitted. <span class="type">GTK_UPDATE_DELAYED</span> means that
the value will be updated after a brief timeout where no slider motion
occurs, so updates are spaced by a short time rather than
continuous. <span class="type">GTK_UPDATE_DISCONTINUOUS</span> means that the value will only
be updated when the user releases the button and ends the slider
drag operation.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>policy</code></em> :</span></p></td>
<td> update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-adjustment"></a><h3>gtk_range_set_adjustment ()</h3>
<pre class="programlisting">void                gtk_range_set_adjustment            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a> *adjustment);</pre>
<p>
Sets the adjustment to be used as the "model" object for this range
widget. The adjustment indicates the current range value, the
minimum and maximum range values, the step/page increments used
for keybindings and scrolling, and the page size. The page size
is normally 0 for <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> and nonzero for <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, and
indicates the size of the visible area of the widget being scrolled.
The page size affects the size of the scrollbar slider.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td> a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-inverted"></a><h3>gtk_range_get_inverted ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            gtk_range_get_inverted              (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the value set by <a class="link" href="GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()"><code class="function">gtk_range_set_inverted()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the range is inverted
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-inverted"></a><h3>gtk_range_set_inverted ()</h3>
<pre class="programlisting">void                gtk_range_set_inverted              (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> setting);</pre>
<p>
Ranges normally move from lower to higher values as the
slider moves from top to bottom or left to right. Inverted
ranges have higher values at the top or on the right rather than
on the bottom or left.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to invert the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-update-policy"></a><h3>gtk_range_get_update_policy ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a>       gtk_range_get_update_policy         (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the update policy of <em class="parameter"><code>range</code></em>. See <a class="link" href="GtkRange.html#gtk-range-set-update-policy" title="gtk_range_set_update_policy ()"><code class="function">gtk_range_set_update_policy()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-value"></a><h3>gtk_range_get_value ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>             gtk_range_get_value                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the current value of the range.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> current value of the range.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-increments"></a><h3>gtk_range_set_increments ()</h3>
<pre class="programlisting">void                gtk_range_set_increments            (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> step,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> page);</pre>
<p>
Sets the step and page sizes for the range.
The step size is used when the user clicks the <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>
arrows or moves <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> via arrow keys. The page size
is used for example when moving via Page Up or Page Down keys.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
<td> step size
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td> page size
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-range"></a><h3>gtk_range_set_range ()</h3>
<pre class="programlisting">void                gtk_range_set_range                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> min,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> max);</pre>
<p>
Sets the allowable values in the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>, and clamps the range
value to be between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em>. (If the range has a non-zero
page size, it is clamped between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em> - page-size.)</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td> minimum range value
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td> maximum range value
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-value"></a><h3>gtk_range_set_value ()</h3>
<pre class="programlisting">void                gtk_range_set_value                 (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a> value);</pre>
<p>
Sets the current value of the range; if the value is outside the
minimum or maximum range values, it will be clamped to fit inside
them. The range emits the <a class="link" href="GtkRange.html#GtkRange-value-changed" title='The "value-changed" signal'><span class="type">"value-changed"</span></a> signal if the 
value changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td> new value of the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkSensitivityType"></a><h3>enum GtkSensitivityType</h3>
<pre class="programlisting">typedef enum
{
  GTK_SENSITIVITY_AUTO,
  GTK_SENSITIVITY_ON,
  GTK_SENSITIVITY_OFF
} GtkSensitivityType;
</pre>
<p>
Determines how GTK+ handles the sensitivity of stepper arrows
at the end of range widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SENSITIVITY-AUTO--CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_AUTO</code></span></p></td>
<td>The arrow is made insensitive if the
   thumb is at the end
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-ON--CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_ON</code></span></p></td>
<td>The arrow is always sensitive
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-OFF--CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_OFF</code></span></p></td>
<td>The arrow is always insensitive
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-lower-stepper-sensitivity"></a><h3>gtk_range_set_lower_stepper_sensitivity ()</h3>
<pre class="programlisting">void                gtk_range_set_lower_stepper_sensitivity
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a> sensitivity);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>       a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td> the lower stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-lower-stepper-sensitivity"></a><h3>gtk_range_get_lower_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>  gtk_range_get_lower_stepper_sensitivity
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The lower stepper's sensitivity policy.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-set-upper-stepper-sensitivity"></a><h3>gtk_range_set_upper_stepper_sensitivity ()</h3>
<pre class="programlisting">void                gtk_range_set_upper_stepper_sensitivity
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                         <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a> sensitivity);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>       a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td> the upper stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="gtk-range-get-upper-stepper-sensitivity"></a><h3>gtk_range_get_upper_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>  gtk_range_get_upper_stepper_sensitivity
                                                        (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The upper stepper's sensitivity policy.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.property-details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkRange--adjustment"></a><h3>The <code class="literal">"adjustment"</code> property</h3>
<pre class="programlisting">  "adjustment"               <a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>*        : Read / Write / Construct</pre>
<p>The GtkAdjustment that contains the current value of this range object.</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--fill-level"></a><h3>The <code class="literal">"fill-level"</code> property</h3>
<pre class="programlisting">  "fill-level"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>               : Read / Write</pre>
<p>
The fill level (e.g. prebuffering of a network stream).
See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.</p>
<p>
</p>
<p>Default value: 1.79769e+308</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--inverted"></a><h3>The <code class="literal">"inverted"</code> property</h3>
<pre class="programlisting">  "inverted"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Invert direction slider moves to increase range value.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--lower-stepper-sensitivity"></a><h3>The <code class="literal">"lower-stepper-sensitivity"</code> property</h3>
<pre class="programlisting">  "lower-stepper-sensitivity" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>    : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's lower side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--restrict-to-fill-level"></a><h3>The <code class="literal">"restrict-to-fill-level"</code> property</h3>
<pre class="programlisting">  "restrict-to-fill-level"   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
The restrict-to-fill-level property controls whether slider
movement is restricted to an upper boundary set by the
fill level. See <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a>.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--show-fill-level"></a><h3>The <code class="literal">"show-fill-level"</code> property</h3>
<pre class="programlisting">  "show-fill-level"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>
The show-fill-level property controls whether fill level indicator
graphics are displayed on the trough. See
<a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.12</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--update-policy"></a><h3>The <code class="literal">"update-policy"</code> property</h3>
<pre class="programlisting">  "update-policy"            <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType">GtkUpdateType</a>         : Read / Write</pre>
<p>How the range should be updated on the screen.</p>
<p>Default value: GTK_UPDATE_CONTINUOUS</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--upper-stepper-sensitivity"></a><h3>The <code class="literal">"upper-stepper-sensitivity"</code> property</h3>
<pre class="programlisting">  "upper-stepper-sensitivity" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>    : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's upper side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="GtkRange--s-activate-slider"></a><h3>The <code class="literal">"activate-slider"</code> style property</h3>
<pre class="programlisting">  "activate-slider"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-arrow-displacement-x"></a><h3>The <code class="literal">"arrow-displacement-x"</code> style property</h3>
<pre class="programlisting">  "arrow-displacement-x"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>How far in the x direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-arrow-displacement-y"></a><h3>The <code class="literal">"arrow-displacement-y"</code> style property</h3>
<pre class="programlisting">  "arrow-displacement-y"     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>How far in the y direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3>
<pre class="programlisting">  "arrow-scaling"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"
>gfloat</a>                : Read</pre>
<p>
The arrow size proportion relative to the scroll button size.</p>
<p>
</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0.5</p>
<p>Since 2.14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-slider-width"></a><h3>The <code class="literal">"slider-width"</code> style property</h3>
<pre class="programlisting">  "slider-width"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Width of scrollbar or scale thumb.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-stepper-size"></a><h3>The <code class="literal">"stepper-size"</code> style property</h3>
<pre class="programlisting">  "stepper-size"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Length of step buttons at ends.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-stepper-spacing"></a><h3>The <code class="literal">"stepper-spacing"</code> style property</h3>
<pre class="programlisting">  "stepper-spacing"          <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>
The spacing between the stepper buttons and thumb. Note that
setting this value to anything &gt; 0 will automatically set the
trough-under-steppers style property to <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> as well. Also,
stepper-spacing won't have any effect if there are no steppers.</p>
<p>
</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-trough-border"></a><h3>The <code class="literal">"trough-border"</code> style property</h3>
<pre class="programlisting">  "trough-border"            <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read</pre>
<p>Spacing between thumb/steppers and outer trough bevel.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-trough-side-details"></a><h3>The <code class="literal">"trough-side-details"</code> style property</h3>
<pre class="programlisting">  "trough-side-details"      <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
When <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a>, the parts of the trough on the two sides of the
slider are drawn with different details.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.10</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange--s-trough-under-steppers"></a><h3>The <code class="literal">"trough-under-steppers"</code> style property</h3>
<pre class="programlisting">  "trough-under-steppers"    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read</pre>
<p>
Whether to draw the trough across the full length of the range or
to exclude the steppers and their spacing. Note that setting the
<span class="type">"stepper-spacing"</span> style property to any value &gt; 0 will
automatically enable trough-under-steppers too.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.10</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="GtkRange.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="GtkRange-adjust-bounds"></a><h3>The <code class="literal">"adjust-bounds"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>   arg1,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange-change-value"></a><h3>The <code class="literal">"change-value"</code> signal</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>            user_function                      (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a>     *range,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType">GtkScrollType</a> scroll,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
>gdouble</a>       value,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>      user_data)      : Run Last</pre>
<p>
The ::change-value signal is emitted when a scroll action is
performed on a range.  It allows an application to determine the
type of scroll event that occurred and the resultant new value.
The application can handle the event itself and return <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to
prevent further processing.  Or, by returning <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a>, it can pass
the event to other handlers until the default GTK+ handler is
reached.
</p>
<p>
The value parameter is unrounded.  An application that overrides
the ::change-value signal is responsible for clamping the value to
the desired number of decimal digits; the default GTK+ handler
clamps the value based on <em class="parameter"><code>range-&gt;round_digits</code></em>.
</p>
<p>
It is not possible to use delayed update policies in an overridden
::change-value handler.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> the range that received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scroll</code></em> :</span></p></td>
<td> the type of scroll action that was performed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td> the new value resulting from the scroll action
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>returns</code></em> :</span></p></td>
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> to prevent other handlers from being invoked for the
signal, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> to propagate the signal further
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange-move-slider"></a><h3>The <code class="literal">"move-slider"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a>     *range,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType">GtkScrollType</a> step,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>      user_data)      : Run Last / Action</pre>
<p>
Virtual function that moves the slider. Used for keybindings.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
<td> how to move the slider
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="GtkRange-value-changed"></a><h3>The <code class="literal">"value-changed"</code> signal</h3>
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange">GtkRange</a> *range,
                                                        <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
>gpointer</a>  user_data)      : Run Last</pre>
<p>
Emitted when the range value changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td> the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>
